'use strict';

function choose_even(collection) {
let result = collection.filter(function(element){
   return element%2===0;
});
console.log(result);
return result;
}
choose_even([0, 1, 2, 3, 4, 6]);
module.exports = choose_even;
